Upload Loan Documents
POST /api/v1/loans/documents/{requestId}/tenants/{tenantId}
Description
Upload loan documents for a specific request and tenant.
Path Parameters
| Name | Type | Description |
|---|---|---|
requestId | string | The ID of the loan request |
tenantId | string | The ID of the tenant |
Request Headers
| Name | Type | Description |
|---|---|---|
service-api-key | string | API key for authentication (header) |
service-api-code | string | API code for authentication (header) |
Request Body
- Content Type:
application/json
{
"docLinks": [
{
"name": "string",
"link": "string"
}
]
}
Response Code: 201 - Created
Description
Documents uploaded successfully.
Headers
|Content-Type |Value|
|service-api-key |{{apiKey}}|
|service-api-code |{{apiCode}}|
Body
{
"docLinks": [
{
"name": "Document 1",
"link": "https://example.com/document1"
},
{
"name": "Document 2",
"link": "https://example.com/document2"
}
]
}
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/loans/documents/{requestId}/tenants/{tenantId} \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!